﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace web.core.ViewModels
{
    public class ForgotPasswordViewModels
    {
        [DisplayName("user_name")]
        [StringLength(50)]
        public string username { get; set; }

        [DisplayName("email")]
        [RegularExpression(@"[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}", ErrorMessage = "*")]
        [DataType(DataType.EmailAddress)]
        public string email { get; set; }
    }
}